<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>收货人信息表单</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 500px;
            margin: 0 auto;
            padding: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }

        input[type="text"],
        input[type="tel"],
        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

        /* 焦点状态边框变红 */
        input[type="text"]:focus,
        input[type="tel"]:focus,
        textarea:focus {
            border-color: red;
            outline: none;
        }

        textarea {
            height: 100px;
            resize: vertical;
        }

        .radio-group input[type="radio"] {
            margin-right: 5px;
        }

        .radio-group label {
            display: inline-block;
            margin-bottom: 0;
            font-weight: normal;
            margin-right: 15px;
        }

        input[type="checkbox"] {
            margin-right: 5px;
        }

        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }

        button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <form>
        <div class="form-group">
            <label for="receiver">收货人</label>
            <input type="text" id="receiver" name="receiver">
        </div>
        <div class="form-group">
            <label for="phone">手机号码</label>
            <input type="tel" id="phone" name="phone">
        </div>
        <div class="form-group">
            <label for="area">所在地区</label>
            <input type="text" id="area" name="area">
        </div>
        <div class="form-group">
            <label for="address">详细地址</label>
            <textarea id="address" name="address"></textarea>
        </div>
        <div class="form-group">
            <label>标签</label>
            <div class="radio-group">
                <input type="radio" id="home" name="tag" checked>
                <label for="home">家</label>
                <input type="radio" id="company" name="tag">
                <label for="company">公司</label>
                <input type="radio" id="school" name="tag">
                <label for="school">学校</label>
            </div>
        </div>
        <div class="form-group">
            <input type="checkbox" id="default-address" name="default-address" checked>
            <label for="default-address">设置为默认地址</label>
        </div>
        <button type="submit">提交</button>
    </form>
</body>
</html>